<template>
    <router-view></router-view>
</template>

<script lang="ts" setup>
import {useLoginStore} from "./store/login";
import {CreateSocket} from "./util/websocket";

// 实例化仓库
const loginStore = useLoginStore()
loginStore.getUserInfo()

CreateSocket()
</script>

<style lang="less" scoped>

</style>
